namespace PickGold.Charting
{
    using System;
    using System.Collections.ObjectModel;
    using System.Drawing.Drawing2D;
    using System.Runtime.CompilerServices;
    using System.Security.Permissions;
    using System.Web;
	using System.Drawing;

    [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
    public class ChartElementOutline : IDisposable
    {
        //[CompilerGenerated]
        //private ReadOnlyCollection<PointF> <Markers>k__BackingField;
        //[CompilerGenerated]
        //private GraphicsPath _OutlinePath_k__BackingField;

        internal ChartElementOutline()
        {
            this.Markers = new ReadOnlyCollection<PointF>(new PointF[0]);
        }

        public void Dispose()
        {
            this.Dispose(true);
            GC.SuppressFinalize(this);
        }

        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (this.OutlinePath != null)
                {
                    this.OutlinePath.Dispose();
                    this.OutlinePath = null;
                }
                this.Markers = null;
            }
        }

		public ReadOnlyCollection<PointF> Markers { set; get; }

		public GraphicsPath OutlinePath { set; get; }
    }
}

